<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ taglib uri="/tag" prefix="tag"%>
<style>
.topMenuUL{font-size: 14px;width: 930px;padding-top: 12px;margin: 0 auto;}
.topMenuLI{width: 85px;float: left;padding:0;position: relative;text-align: center;border-right: 1px solid #000000;}
.topMenuLI a:link{color: #000000;text-decoration: none;}
.topMenuLI a:visited{color: #000000;text-decoration: none;}
.topMenuLI a:hover{color: #000000;text-decoration: none;font-weight: bold;}
.topMenuLI a:active{color: #000000;text-decoration: none;}
.childMenuUL{font-family: 宋体;font-size: 13px;padding: 0;margin:0;position: absolute;z-index: 1000; left:10px;top:30px;}
.childMenuLI{float: left}
</style>

<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="14" height="48">&nbsp;</td>
    <td width="221"><img src="../images/publish_manager_logo.png" width="221" height="33"></td>
    <td style="font-size: 12px;font-family: 宋体" align="right">${sessionScope.userinfo.username },欢迎进入商户中心
    	&nbsp;&nbsp;&nbsp;&nbsp;<a href="${ctx }/member/findUser.do" style="color: #979797">修改资料</a>
    	&nbsp;&nbsp;&nbsp;&nbsp;<a href="${ctx }/member/changePwd.do" style="color: #979797">修改密码</a>
     | <a href="${ctx }/member/logout.do" style="color: #979797">退出</a>
    </td>
  </tr>
</table>

<div style="width: 960px;margin: 0 auto;background: url('${ctx }/images/login/dh.jpg');height: 40px;">
<ul class="topMenuUL">
      <tag:showMenu menuName="publish_painting">
             <li class="topMenuLI">
             	<a href="javascript:void(0)"  id="m1_002"  onmouseover="m1('m1_002')" style="cursor:text">发布作品</a>
             	<ul id="div_m1_002" class="childMenuUL" style="width:300px;display: none;">
					<tag:showMenu menuName="painting_by_painter"><li class="childMenuLI"><a href="${ctx }/painter/addPrepare.do" id="m1_002_01" style="color: #D20404;">按艺术家发布</a>
					| </li></tag:showMenu><tag:showMenu menuName="painting_by_single"><li class="childMenuLI"><a href="${ctx }/painting/paintingAction!listNewestPainting.do" id="m1_002_02" style="color: #D20404;">按作品发布</a></li></tag:showMenu>  
				</ul>
             </li>
      </tag:showMenu>
	  <tag:showMenu menuName="information_manager">
	      <li class="topMenuLI">
			<a href="javascript:void(0)" id="m1_005"  onmouseover="m1('m1_005')" style="cursor:text">信息管理</a>
		      <ul id="div_m1_005" class="childMenuUL" style="width:500px;display: none;">
		      <c:choose>
	      		    <c:when test="${sessionScope.userinfo.administratorFlag == '0' }">  
						<tag:showMenu menuName="modify_information_painting">
							<li class="childMenuLI">
							<a href="${ctx }/painting/listPainting.do?pageSize=16" id="m1_005_01" style="color: #D20404;">作品</a>
							| </li>
						</tag:showMenu>
					</c:when>
					<c:otherwise>
						<tag:showMenu menuName="modify_information_painting">
								<li class="childMenuLI">
								<a href="${ctx }/painting/listPainting_admin.do" id="m1_005_01" style="color: #D20404;">作品</a>
								| </li>
							</tag:showMenu>
					</c:otherwise>
				</c:choose>
				<tag:showMenu menuName="modify_information_painter"><li class="childMenuLI"><a href="${ctx }/painter/listPainter.do" id="m1_005_02" style="color: #D20404;">艺术家</a>  
				| </li></tag:showMenu><%--<tag:showMenu menuName="modify_information_exhibition"><li class="childMenuLI"><a href="${ctx }/exhibition/list.do" id="m1_005_03" style="color: #D20404;">展览</a>  
				| </li></tag:showMenu><tag:showMenu menuName="modify_information_auction"><li class="childMenuLI"><a href="${ctx }/auction/auctionAction!list.do" id="m1_005_04" style="color: #D20404;">拍卖预展</a>  
				| </li></tag:showMenu>--%><tag:showMenu menuName="modify_information_painterStar"><li class="childMenuLI"><a href="${ctx }/painter/listPainterStar.do" id="m1_005_05" style="color: #D20404;">名画名家</a>  
				| </li></tag:showMenu><tag:showMenu menuName="modify_information_advertise"><li class="childMenuLI"><a href="${ctx }/advertise/advertisementAction!list.do" id="m1_005_06" style="color: #D20404;">广告</a>  
				| </li></tag:showMenu><tag:showMenu menuName="modify_information_article"><li class="childMenuLI"><a href="${ctx }/article/articleAction!list.do" id="m1_005_07" style="color: #D20404;">文章</a>  
				| </li></tag:showMenu><tag:showMenu menuName="modify_information_backgroundImage"><li class="childMenuLI"><a href="${ctx }/backimage/backImageAction!list.do" id="m1_005_08" style="color: #D20404;">摆设</a>
				| </li></tag:showMenu><%--<tag:showMenu menuName="modify_information_gallery"><li class="childMenuLI"><a href="${ctx }/gallery/galleryAction!list.do" id="m1_005_09" style="color: #D20404;">画廊</a></li></tag:showMenu>--%>  
				<tag:showMenu menuName="modify_information_special_advertise"><li class="childMenuLI"><a href="${ctx }/advertise/specialSubjectAction!list.do" id="m1_005_10" style="color: #D20404;">专题</a></li></tag:showMenu>
			 </ul>
		  </li>
	   </tag:showMenu>
	 <tag:showMenu menuName="order_manager">
		  	<li class="topMenuLI">
		  		<a href="${ctx }/order/list.do" id="m1_006"  onmouseover="m1('m1_006')">订单查询</a>
		  	</li>
	  </tag:showMenu>
	  <tag:showMenu menuName="fetch_bid">
		   <li class="topMenuLI">
		   		<a href="${ctx }/bid/promotionAction!fetch.do" >领取拍品</a>
		   </li>
	  </tag:showMenu>
	  <%--<tag:showMenu menuName="bid_manager">
		   <li class="topMenuLI">
		   		<a href="${ctx }/bid/bidAction!list.do" id="m1_011"  onmouseover="m1('m1_011')">拍卖查询</a>
		   </li>
	  </tag:showMenu>
	  <tag:showMenu menuName="promotion_query">
		   <li class="topMenuLI">
		   		<a href="${ctx }/bid/promotionAction!list.do">推广查询</a>
		   </li>
	  </tag:showMenu>
	  <tag:showMenu menuName="finance_manager">
		   <li class="topMenuLI">
		   		<a href="${ctx }/account/accountAction!queryTransactions.do" id="m1_012"  onmouseover="m1('m1_012')">结算查询</a>
		   </li>
	  </tag:showMenu>
	  --%>
	  <tag:showMenu menuName="editor_manager">
		   <li class="topMenuLI">
		   		<a href="javascript:void(0)" id="m1_007"  onmouseover="m1('m1_007')" style="cursor:text">编辑管理</a>
		   		<ul id="div_m1_007" class="childMenuUL" style="width:450px;display: none;">
			   		<tag:showMenu menuName="editor_painterStar"><li class="childMenuLI"><a href="${ctx }/painter/addPrepareAddition.do" id="m1_007_01" style="color: #D20404;">名画名家</a>
					| </li></tag:showMenu><tag:showMenu menuName="editor_publishAdvertise"><li class="childMenuLI"><a href="${ctx }/advertise/advertisementAction!addPrepare.do" id="m1_007_02" style="color: #D20404;">发布广告</a>  
					| </li></tag:showMenu><tag:showMenu menuName="editor_publishArticle"><li class="childMenuLI"><a href="${ctx }/article/articleAction!addPrepare.do" id="m1_007_03" style="color: #D20404;">发布文章</a>  
					| </li></tag:showMenu><tag:showMenu menuName="editor_publishBackground"><li class="childMenuLI"><a href="${ctx }/backimage/backImageAction!addPrepare.do" id="m1_007_04" style="color: #D20404;">发布摆设</a>
					| </li></tag:showMenu><tag:showMenu menuName="editor_publishSpecial"><li class="childMenuLI"><a href="${ctx }/advertise/specialSubjectAction!addPrepare.do" id="m1_007_05" style="color: #D20404;">发布专题</a>
					|</li></tag:showMenu><tag:showMenu menuName="editor_publishHtml"><li class="childMenuLI"><a href="${ctx }/back/generateHtmlAction!prepare.do" id="m1_007_06" style="color: #D20404;">发布站点</a>
					|</li></tag:showMenu>
				</ul>  
		   </li>
	  </tag:showMenu>
	  <tag:showMenu menuName="member_manager">
		   	 <li class="topMenuLI">
		 	 	<a href="javascript:void(0)" id="m1_008"  onmouseover="m1('m1_008')" style="cursor:text">会员管理</a>
		 	 	<ul id="div_m1_008" class="childMenuUL" style="width:200px;display: none;">
		 	 		<tag:showMenu menuName="memberManager_customer"><li class="childMenuLI"><a href="${ctx }/security/user!listCustomer.do" id="m1_008_03" style="color: #D20404;">会员</a>
					| </li></tag:showMenu>
					<tag:showMenu menuName="memberManager_member"><li class="childMenuLI"><a href="${ctx }/security/user!listMember.do" id="m1_008_01" style="color: #D20404;">商户</a>
					| </li></tag:showMenu><tag:showMenu menuName="memberManager_admin"><li class="childMenuLI"><a href="${ctx }/security/user!list.do" id="m1_008_02" style="color: #D20404;">管理员</a></li></tag:showMenu>
				</ul>	
		 	 </li>
	  </tag:showMenu>
	  <tag:showMenu menuName="rights_declare">
		   <li class="topMenuLI">
		   		<a href="${ctx }/security/user!list.do" id="m1_009"  onmouseover="m1('m1_009')" style="cursor:text">权限定义</a>
		   		<ul id="div_m1_009" class="childMenuUL" style="width:200px;display: none;">
					<tag:showMenu menuName="rights_role"><li class="childMenuLI"><a href="${ctx }/security/role!list.do" id="m1_009_01" style="color: #D20404;">角色</a>| </li></tag:showMenu>
					<tag:showMenu menuName="rights_menu"><li class="childMenuLI"><a href="${ctx }/security/menu!list.do" id="m1_009_02" style="color: #D20404;"> 菜单</a>| </li></tag:showMenu>
					<tag:showMenu menuName="rights_function"><li class="childMenuLI"><a href="${ctx }/security/resc!list.do" id="m1_009_03" style="color: #D20404;">功能</a></li></tag:showMenu>
				</ul>
		   </li>
	  </tag:showMenu>
</ul>
</div>
<div  style="width: 960px;margin: 0 auto;height: 23px;"></div>